package cn.xsly.ymcc.service;

import cn.xsly.ymcc.domain.Course;
import cn.xsly.ymcc.dto.CourseOrderVo;
import cn.xsly.ymcc.dto.CourseParamDto;
import cn.xsly.ymcc.dto.CourseStateVo;
import cn.xsly.ymcc.vo.CourseDetailVo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whale
 * @since 2022-10-23
 */
public interface ICourseService extends IService<Course> {

    void save(CourseParamDto dto);

    void onLineCourse(Long id);

    void offLineCourse(Long id);

    CourseDetailVo courseDetailById(Long id);

    CourseStateVo courseStateById(Long id);

    CourseOrderVo orderList(String ids);
}
